package edu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.domain.Goods;
import edu.dto.CountDto;

import java.util.List;

/**
 * (Goods)表数据库访问层
 *
 * @date 2022-02-09 20:29:04
 */
public interface GoodsMapper extends BaseMapper<Goods> {

    /**
     * 通过分类统计
     * @return
     */
    List<CountDto> countByCategory();

}
